package com.youlai.boot.system.model.form;

import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.*;

/**
 * 预售票分类表单对象
 *
 * @author lwb
 * @since 2025-06-29 16:31
 */
@Getter
@Setter
@Schema(description = "预售票分类表单对象")
public class SpotCategoryForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    @Schema(description = "分类名称")
    @NotBlank(message = "分类名称不能为空")
    @Size(max=64, message="分类名称长度不能超过64个字符")
    private String name;

    @Schema(description = "备注")
    @Size(max=512, message="备注长度不能超过512个字符")
    private String remark;


    @Schema(description = "旅行社Id")
    private Long deptId;

    @Schema(description = "旅行社名称")
    private String deptName;


}
